﻿namespace ClearLines.TspDemo.CSharp
{
   using System.Diagnostics;

   [DebuggerDisplay("{Name}")]
   public struct City
   {
      private readonly string name;
      private readonly double x;
      private readonly double y;

      public City(string name, double x, double y)
      {
         this.name = name;
         this.x = x;
         this.y = y;
      }

      public string Name
      {
         get { return this.name; }
      }

      public double X
      {
         get { return this.x; }
      }

      public double Y
      {
         get { return this.y; }
      }
   }
}
